package db.migration;

import net.jiastudy.core.base.BaseMigration;

public class V1_0_23__add_task_target_is_assess extends BaseMigration {
    @Override
    public void migrate() throws Exception {
        if (!isFieldExist("target_task", "is_assess")) {
            jdbcTemplate.update("ALTER TABLE `target_task` ADD `is_assess` tinyint(4) DEFAULT 0 COMMENT '是否需要考核';");
        }
    }
}
